<?php
/**
 * 房源发布服务
 */

namespace App\library\services;

use App\Models\Cities as CitesModel;

class Release extends BaseServices
{

    public static function outRentCreate($params = [])
    {
        if (empty($params) || !isset($params)) {
            return self::fail('参数错误');
        }
        $shengID=CitesModel::where('name',$params['sheng'])->find('id');

        $shiID=CitesModel::where('name',$params['shi'])->get('id');
        $quId=CitesModel::where('name',$params['qu'])->get('id');



    }
}
